<template>
  <addForm :registerForm="registerForm"/>

</template>

<script setup>
import addForm from './components/addForm.vue'
import { ElDatePicker, ElSelect, ElCascader, ElInputNumber } from "element-plus";
const registerForm = [
    {
        com: ElDatePicker,
        name: '时间选择器',
        props: {
            "value-format": 'YYYY/MM/DD',
            format: 'YYYY/MM/DD'
        }
    },
    {
        com: ElSelect,
        name: '选择框',
        props: {
            size: 'small'
        },
    },
    {
        com: ElCascader,
        name: '日历',
    },
    {
        com: ElInputNumber,
        name: '数字输入',
    }
]
</script>

<style lang="less" scoped></style>
